import type { Recordable } from '@vben/types';
import { requestClient } from '#/api/request';

export async function list(data) {
  return requestClient.post('/task/policeWarnings/getPoliceWarningsList', data);
}

export async function getPoliceWarningsDetails(data) {
  return requestClient.post('/task/policeWarnings/getPoliceWarningsDetails', data);
}

export async function addPoliceWarnings(data) {
  return requestClient.post('/task/policeWarnings/addPoliceWarnings', data);
}

export async function editPoliceWarnings(data) {
  return requestClient.post('/task/policeWarnings/editPoliceWarnings', data);
}
